package com.easysoft.framework.product.mapper;

import com.easysoft.framework.beans.Page;
import com.easysoft.framework.product.model.SysProductQuery;
import com.easysoft.framework.product.model.SysProductView;
import com.easysoft.framework.stereotype.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository("mapper.SysProductMapperExtd")
public interface SysProductMapperExtd extends SysProductMapper{

    public List<SysProductView> selectSysProductByPage(@Param("page") Page page, @Param("query") SysProductQuery query);

    public int  selectCountAllProduct(@Param("query") SysProductQuery query);
}
